package com.erp.erpboot.mapper;

import com.erp.erpboot.pojo.PuOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value = "PuOrderMapper")
public interface PuOrderMapper {
    public  List<PuOrder> list();
    public PuOrder get(int id);
    public int GetMaxID();
    public int add(PuOrder puOrder);
    public int update(PuOrder puOrder);
    public String getNewVouchCode(Map<String,Object> maop);
}
